package com.gitee.cui.server.processor;

import com.gitee.cui.common.common.bean.msg.ProtoMsg;
import com.gitee.cui.server.server.ServerSession;

/**
 * 服务端流程处理器接口
 * @author cuiqingqiang
 * @version 1.0
 * @date 2021/10/28 8:45
 **/
public interface ServerProcessor {

    ProtoMsg.HeadType type();

    boolean action(ServerSession session, ProtoMsg.Message message);
}
